Skip to content

Shape the New-TmuxServer help's "What is on here" as a capability directory - #68

Merged
tony merged 1 commit into
masterfrom
server-directory
Nov 1, 2026
Merged

tony merged 1 commit into
masterfrom
server-directory

Conversation

@tony

@tony tony commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Closes #66

Part of libtmux/docs#231

The New-TmuxServer help's "What is on here" section now has the shape the docs site draws as a capability directory (groupDirectory): nine groups, each a bold-led paragraph of guidance followed by a paragraph that holds only references. Until now each group mixed guidance and references in one paragraph, so libtmux.org rendered it as prose.

  • The introduction, the group titles and the guidance of every group are kept word for word, because its sentences tell cmdlets apart by name.
  • Each group's guidance is followed by one paragraph of the cmdlets it covers, as bare names, with ConvertTo-TmuxQueryJson in a code span as the guidance already had it.
  • The closing paragraph about Invoke-TmuxCommand, Invoke-TmuxChain, New-TmuxCommand and Invoke-TmuxControlCommand is now its own group, "Running a command".
  • The packaged MAML help in LibTmux.PowerShell.dll-Help.xml is regenerated from the Markdown with eng/Help.ps1.

The site does not read PowerShell's bare cmdlet names in the directory yet; libtmux/docs#231 adds it. Until that lands the section reads as ordinary Markdown, which platyPS and Get-Help renders as before.

Checked:

why: Each group of the New-TmuxServer help's "What is on here" section
mixed guidance and cmdlet names in one paragraph, so libtmux.org
rendered it as prose. The site draws a capability directory only when a
bold-led paragraph of guidance is followed by a paragraph that holds
nothing but references, in three groups or more. libtmux/docs#231
teaches the parser the bare cmdlet names PowerShell help uses.

what:
- Keep the introduction, the group titles and the guidance of every
  group, so the sentences that tell two cmdlets apart keep their names
- Follow each group's guidance with one paragraph of the cmdlets it
  covers, written as bare names, with ConvertTo-TmuxQueryJson in a code
  span as the guidance already had it
- Give the closing paragraph about Invoke-TmuxCommand, Invoke-TmuxChain,
  New-TmuxCommand and Invoke-TmuxControlCommand its own group, "Running
  a command"
- Regenerate the packaged MAML help with eng/Help.ps1
@tony
tony marked this pull request as ready for review November 1, 2026 14:59
@tony
tony deployed to docs-preview November 1, 2026 15:10 — with GitHub Actions Active
@tony
tony merged commit c1f8d8c into master Nov 1, 2026
22 checks passed
@tony
tony deployed to docs-preview-cleanup November 1, 2026 21:32 — with GitHub Actions Active

This branch was successfully deployed

2 active deployments
docs-preview-cleanup — e5c60e02 Deployed Nov 1, 2026 by tony via cleanup #38
docs-preview — e5c60e02 Deployed Nov 1, 2026 by tony via publish (pr-68, pr, false, true, powershell) / publish #157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write the Server capability directory in the shape the docs site draws

1 participant